#set($id = $product.Id)
#set($uri = $product.Uri)
#set($escapedName = $product.HtmlEscapedName)
#set($evaluationRate = $product.EvaluationRate)
<div class="wrapper">
	<div id="rating-produto-$id" class="rating-produto avaliacao$evaluationRate">
		$evaluationRate
	</div>
	<p class="product_name">
		<a title="$escapedName" href="$uri">$product.Name</a>
	</p>
	<p class="desc">
		<a title="$escapedName" href="$uri">$product.DescriptionShort</a>
	</p>
	<div class="photo">
		<a title="$escapedName" href="$uri">$product.GetImageTag(29)</a>
	</div>
	#if ($product.IsInStock)
	<p class="preco">
		<a title="$escapedName" href="$uri">
		#if ($product.HasBestPrice)
			<em class="valor-de">
				De:
				<strong>$product.ListPrice</strong>
			</em>
		<br/>
		#end
		<em class="valor-por">
			Por:
			<strong>$product.BestPrice</strong>
		</em>
		<br />
		<em class="valor-dividido">
			#if ($product.NumbersOfInstallment > 1)
				ou
				<strong>${product.NumbersOfInstallment}x</strong> iguais de
				<strong>$product.InstallmentValue</strong>
			#else
				<em class="valor-por">à vista</em>
			#end
		</em>
		</a>
	</p>
	#else
	<p class="esgotado">
		Produto Esgotado
	</p>
	#end
	<div class="wrapperAmountInCart">
		$product.AmountInCart
		$product.BottomBuyAsynchronous
	</div>
	$product.DiscountHightLight
</div>
<span class='prod-id' style='display:none'>$id</span>